import request from '@/utils/request'
export default {
    //生成订单
    createOrder(orderObject) {
    return request({
      url: `/orderservice/order/createOrder`,
      method: 'post',
      data: orderObject
    })
  },
  //根据订单号查询订单信息
  getOrderInfo(orderNum) {
    return request({
      url: `/orderservice/order/getOrderInfo/${orderNum}`,
      method: 'get'
    })
  }
}